package com.zelin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created by WF on 2021/10/19 14:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("classes")
public class Classes implements Serializable {

    @TableId(type=IdType.AUTO)      //代表自增
    private Integer cid;

    private String cname;

    private static final long serialVersionUID = 1L;
}